package icu.sehnen.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import icu.sehnen.user.entity.UserRoleRelation;

import java.util.List;

/**
 * <p>
 * 后台用户和角色关系表 Mapper 接口
 * </p>
 *
 * @author icu.sehnen
 * @since 2021-04-27
 */
public interface UserRoleRelationMapper extends BaseMapper<UserRoleRelation> {

    List<Long> getIRoleIdsByUserId(Long id);
}
